<?
	$dbName = $this->formGetFieldDbName($form_field->dbName, $this->viewData['form_model']);
?>

<input type="hidden" name="<?= $form_model_class ?>[<?= $dbName ?>]" value="" class="checkbox"/>

<input <? if ($form_field->disabled) echo 'disabled="disabled"' ?> <?= Phpr_Form::checkboxState($form_field->checkboxOnState == $form_model->$dbName) ?> type="checkbox" id="<?= $this->formGetElementId($form_model_class.'_'.$dbName) ?>" name="<?= $form_model_class ?>[<?= $dbName ?>]" value="<?= h($form_field->checkboxOnState) ?>" class="checkbox"/>
